package com.zisuyi.game.sdk.net.bean;

import com.google.gson.annotations.SerializedName;

public class BaseGameBean<T> {

    @SerializedName("data")
    private T data;
    /**
     * code : 0
     * message : 错误描述，成功就返回success
     * assets : {"coin":100}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("message")
    private String message;
    @SerializedName("assets")
    private UserAssetsBean assets;
    @SerializedName("reward")
    private SmallGameRewardBean reward;

    public SmallGameRewardBean getReward() {
        return reward;
    }

    public void setReward(SmallGameRewardBean reward) {
        this.reward = reward;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public UserAssetsBean getAssets() {
        return assets;
    }

    public void setAssets(UserAssetsBean assets) {
        this.assets = assets;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
